<%@page import = "clothing.database.CustomerManager" %>
<%@ include file = "templates/header.jsp" %>

<%

String firstname = request.getParameter("firstname");
String lastname = request.getParameter("lastname");
String street = request.getParameter("street");
String city = request.getParameter("city");
String state = request.getParameter("state");
String zip = request.getParameter("zip");
String email = request.getParameter("email");


int z = Integer.parseInt(zip);
CustomerManager cm = new CustomerManager();
cm.insert(firstname, lastname, street, city, state, z, email);

response.sendRedirect("displayCustomer.jsp");

%>
<%@ include file = "templates/footer.jsp" %>